﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCGioHang.ascx.cs" Inherits="Customer_UCControls_UCGioHang" %>


	<div class="titlehienten">  
Đơn hàng đặt thẻ
</div>
<table width="100%">
    <tr>
        <td colspan="2" style="text-align: right; height: 113px;">
            <asp:GridView Width="100%" ID="GridGioHang" runat="server" AllowPaging="True" PageIndex="20" AutoGenerateColumns="False" 
                          EmptyDataText="Chưa có dữ liệu" EmptyDataRowStyle-ForeColor="Blue" OnRowCommand="GridGioHang_RowCommand" 
                         >
              <Columns>
                   <asp:TemplateField HeaderText="STT" ItemStyle-Width="15px">
                    <ItemTemplate>
                         <%# Container.DataItemIndex + 1 %>  
                    </ItemTemplate>
                    </asp:TemplateField>
                   <asp:TemplateField HeaderText="Loại thẻ" ItemStyle-Width="170px" >
                        <ItemTemplate>
                         <%# Eval("LoaiThe") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                   <asp:TemplateField HeaderText="Mẫu thẻ" ItemStyle-Width="120px">
                        <ItemTemplate>
                            <asp:Image ID="imgmauthe" CssClass="cssmauthe" runat="server" Height="50%"
                                ImageUrl='<% # "~/" + PathImage()+ "/"  + DataBinder.Eval(Container.DataItem, "MauThe").ToString() %>'
                                Width="50%" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="SL" ItemStyle-Width="30px">
                    <ItemTemplate>
                    
                    <%# Eval("SoLuong") %>

                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Mệnh giá" ItemStyle-Width="35px">
                    <ItemTemplate>
                         <%# Convert.ToDouble(Eval("MenhGia")).ToString("0,000.##")%>
                    </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Thành tiền" ItemStyle-Width="45px">
                    <ItemTemplate>
                       <%# Convert.ToDouble(Eval("ThanhTien")).ToString("0,000.##")%>
                    </ItemTemplate>
                    </asp:TemplateField>
                   <asp:TemplateField><ItemTemplate>
                       <asp:LinkButton ID="btnXoa" runat="server" Text="Xóa" CommandName="Xoa" CommandArgument='<%#Bind("Id")%>' OnClientClick="javascript:return confirm('Có chắc xóa Chi Nhánh này không?');"/>
                  </ItemTemplate>
                    </asp:TemplateField>
                   
                </Columns>
            </asp:GridView>
         <div class="title">  
         <span style="text-align:right;"> 
            Tổng cộng :&nbsp;
            <asp:Label ID="lblTongCong" runat="server" Text="Label" ></asp:Label><strong>
            
            &nbsp;VNĐ
            </span>
               </div>
               
                </td>
    </tr>
    
</table>



<div style="float:left; width:100%; text-align:center; margin: 10px 0 10px 0;"> 

<div style="width:95px; float:left; margin-left:170px; margin-right:10px">
    <div class="Stylebutton_Title">
        <div class="Stylebutton_Left">
            <div class="Stylebutton_Right">
                <div class="StyleCateTitle">
                    <asp:LinkButton ID="LinkButtonMuaHangTiep" runat="server" CssClass="StyleLinkbutton" 
                        ValidationGroup="" OnClick="LinkButtonMuaHangTiep_Click">Tiếp Tục Mua</asp:LinkButton>
                </div>
            </div>
        </div>
    </div>
</div>


<div style="width: 80px; float:left;">
    <div class="Stylebutton_Title">
        <div class="Stylebutton_Left">
            <div class="Stylebutton_Right">
                <div class="StyleCateTitle">
                    <asp:LinkButton ID="LinkButtonThanhToan" runat="server" CssClass="StyleLinkbutton" 
                        ValidationGroup="" OnClick="LinkButtonThanhToan_Click" >Thanh Toán</asp:LinkButton>
                </div>
            </div>
        </div>
    </div>
</div>

</div>